{include file="header.tpl" title="Chi tiet cashgroup"}
<form action="" method="post" name ="tongquat" target="_self">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="3">
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'">
</td>
<td align="right" nowrap="nowrap">
<select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
   {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/>
</td>
</tr>
<tr>
<td colspan="4">
<hr>
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
 
 	<tr>
		<td nowrap="nowrap">{$lbl_AWCODE}</td>
		<td align="left" colspan="3">
			<input type="text" name="AWCODE" value="{$AWCODE}"  maxlength="10" size="25" style="background:{$colorAWCODE};"/>
			<input type="submit" name="find" value="    " id="replacement_find"  />
			<input type="hidden" name="tmpAWCODE" value="{$AWCODE}" />		</td>
	</tr>
	
	<tr>
		<td nowrap="nowrap">{$lbl_AWDESC}</td>
		<td align="left" colspan="3">
			<input type="text" name="AWDESC" value="{$AWDESC}" maxlength="50" readonly="readonly" size="50" style="background:{$colorAWDESC};"/>		</td>
	</tr>
 
 
	<tr>
  	<td nowrap="nowrap">{$lbl_BRNCODE}</td>
    <td align="left" colspan="3">  
		<select name="BRNCODE" size="1" style="width:270px;" disabled="disabled">
			{foreach from=$arrBRNCODE key=k item=v}
			  <option value="{$k}" {if $BRNCODE eq $k} selected="selected" {/if}>{$v}</option>
			{/foreach}
		</select>	</td>
  </tr>
  
  	
	<tr>
  	<td nowrap="nowrap">{$lbl_CIFTYPE}</td>
    <td align="left" colspan="3">  
		<select name="CIFTYPE" size="1" style="width:270px;" disabled="disabled">
			{foreach from=$arrCIFTYPE key=k item=v}
			  <option value="{$k}" {if $CIFTYPE eq $k} selected="selected" {/if}>{$k} - {$v}</option>
			{/foreach}
		</select>	</td>
  </tr>
  
	
	<tr>
		<td nowrap="nowrap">{$lbl_CURMIN}</td>
		<td align="left" colspan="3">
			<input type="text" name="CURMIN" value="{$CURMIN}" readonly="readonly" maxlength="23" size="25" style="background:{$colorCURMIN};"/>	
			<select name="CURRCD" id="CURRCD" size="1" style="width:75px;" disabled="disabled">
				<option value=""></option>
				{foreach from=$arrCURRCD item=curr}
					<option value="{$curr}" {if $curr eq $CURRCD} selected="selected" {/if} >{$curr}</option>
				{/foreach}
			</select>		</td>
	</tr>
	
	<tr>
		<td nowrap="nowrap">{$lbl_TERM}</td>
		<td align="left" colspan="3">
			<input type="text" name="TERM" value="{$TERM}" readonly="readonly" maxlength="3" size="25" style="background:{$colorTERM};" onkeypress="return numberOnly(event);"/>		
			
			
			<select name="TERMCD" size="1"  disabled="disabled">
				{foreach from=$cbo_CurCodeFDAWPRD key=k item=v}
				  <option value="{$k}" {if $TERMCD eq $k} selected="selected" {/if}>{$k} - {$v}</option>
				{/foreach}
			</select>		</td>
	</tr>
	
	<tr>
		<td nowrap="nowrap">{$lbl_EFFDATE}</td>
		<td align="left" colspan="3">
			<input type="text" name="EFFDATE" value="{$EFFDATE}" maxlength="10" size="25" onclick="event.cancelBubble=true;this.select();lcs(this);" style="background:{$colorEFFDATE}; text-align:left;" readonly="readonly"/>		</td>
	</tr>

	<tr>
		
		<td nowrap="nowrap">{$lbl_EXPDATE}</td>
		<td align="left" colspan="3">
			<input type="text" name="EXPDATE" value="{$EXPDATE}" maxlength="10" size="25" onclick="event.cancelBubble=true;this.select();lcs(this);" style="background:{$colorEXPDATE}; text-align:left;" readonly="readonly"/>		</td>
	</tr>


	<tr>
		<td nowrap="nowrap">{$lbl_AWRATE}</td>
		<td align="left">
			<input type="text" name="AWRATE" value="{$AWRATE}" readonly="readonly" maxlength="10" size="25" style="background:{$colorAWRATE};"/> %		</td>
	</tr>	
	
	<tr>
	  <td nowrap="nowrap">{$lbl_GLACT}</td>
	  <td align="left"><input type="text" name="GLACT" value="{$GLACT}" readonly="readonly" maxlength="10" size="25" style="background:{$colorGLACT};"/></td>
    </tr>
	<tr>
	  <td nowrap="nowrap">{$lbl_SPENDCD}</td>
	  <td align="left"><select name="SPENDCD" size="1" id="SPENDCD" disabled="disabled">
        <option value=""></option>
	    
				{foreach from=$cbo_SPENDCD key=k item=v}
	    
	    <option value="{$k}" {if $SPENDCD eq $k} selected="selected" {/if}>{$k} - {$v}</option>
	        
				{/foreach}  
      
      </select></td>
    </tr>
	<tr>
	  <td nowrap="nowrap">{$lbl_PMTMODE}</td>
	  <td align="left"><select name="PMTMODE" size="1" id="PMTMODE" disabled="disabled">
        <option value=""></option>
	    
	    
				{foreach from=$cbo_PMTMODE key=k item=v}
	    
	    
	    <option value="{$k}" {if $PMTMODE eq $k} selected="selected" {/if}>{$k} - {$v}</option>
	    
	      
				{/foreach}   
      
      
      </select></td>
    </tr>
	<!--<tr>
	  <td nowrap="nowrap">{$lbl_AWRTTYPE}</td>
	  <td align="left"><select name="AWRTTYPE" size="1" id="AWRTTYPE" disabled="disabled">
        <option value=""></option>
	    
	    
	    
	 --  {foreach from=$cbo_AWRTTYPE key=k item=v}
		
	    
	    
	    <option value="{$k}" {if $AWRTTYPE eq $k} selected="selected" {/if}>{$k} - {$v}</option>
	    
	    
	    
	   -- {/foreach}
		
      
      
      </select></td>
    </tr>-->
	<tr>
	  <td nowrap="nowrap">{$lbl_AWRTMIN}</td>
	  <td align="left">
	  <input type="text" name="AWRTMIN" value="{$AWRTMIN}" maxlength="12" size="25" style="background:{$colorAWRTMIN};text-align:right;" readonly="readonly"/></td>
    </tr>
	<tr>
	  <td nowrap="nowrap">{$lbl_AWRTMAX}</td>
	  <td align="left"><input type="text" name="AWRTMAX" value="{$AWRTMAX}" maxlength="12" size="25" style="background:{$colorAWRTMAX};text-align:right;" readonly="readonly"/></td>
    </tr>
	<tr>
	  <td nowrap="nowrap">{$lbl_AWRTSTE}</td>
	  <td align="left"><input type="hidden" name="AWRTSTEP" value="{$AWRTSTEP}" maxlength="12" size="25" style="background:{$colorAWRTSTEP};text-align:right;" readonly="readonly"/></td>
	</tr>
	<tr>
		<td colspan="2" nowrap="nowrap">
			<div class="tableContainer" >
		<table class="tborder" width="79%" border="0" cellpadding="5" cellspacing="1">
          <thead>
            <tr>
              <th width="5%"><input type="checkbox" name="test_all_check" onclick="switchSetting_disable(this,'checkGD[]')" /></th>
              <th width="20%">{$lbl_AWCODE}</th>
              <th width="39%">{$lbl_PRDCODE}</th>
            </tr>
          </thead>
		  {$datagd}
	    </table></div>		</td>
	</tr>	
</table>
<p>&nbsp;</p>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
  <td align="left" nowrap="nowrap" colspan="2"><input name="addnew" type="submit" value="{$ten_themmoi}" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
      <input name="maintain" type="submit" value="{$ten_baotri}" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" /></td>
</tr>
<tr>
<td colspan="2"><hr></td>
</tr>
<tr>
<td>
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'">

</td>
<td align="right" nowrap="nowrap"> 
<select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
   {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'">
</td>
</tr>
</table>
</form>
{include file="footer.tpl"}
